#include <stdio.h>
#include <unistd.h>

main() {
   if (fork())
      printf("1\n");
   else
      printf("2\n");
}

